<template>
  <div class="fashion">
    <!--标题-->
    <div class="fashion1">
      <img @click="returns()" src="../../../assets/2.svg" />
      <h3>时尚秀</h3>
      <div>
        <router-link to="J5-5-1"> 发布</router-link>
      </div>
    </div>
    <!--内容-->
    <div class="fashion2">
      <div class="fashion2-div" v-for="item in list" :key="item.id">
        <h3>{{item.title}}<span>{{item.title1}}</span></h3>
        <div class="fashion2-div1">
          <span class="fashion2-span1">{{item.title2}}</span>
          <span class="fashion2-span2">{{item.title3}}</span>
          <span class="fashion2-span3">{{item.title4}}</span>
        </div>
        <p>{{item.title5}}</p>
        <div class="fashion2-div2">
          <img :src="item.tu" />
          <img :src="item.tu1" />
          <img :src="item.tu2" />
          <img :src="item.tu3" />
        </div>
        <div class="fashion2-div3">
          <span><img :src="item.tu4" />{{item.title6}}</span>
          <span><img :src="item.tu5" />{{item.title6}}</span>
        </div>
        <div class="fashion2-div4">
          <div>
            <img :src="item.tu4" /><span>{{item.title7}}</span>
          </div>
          <p>{{item.title8}}</p>
          <p>{{item.title9}}</p>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data () {
    return {
      list: [
        {
          id: 1,
          title: '小芳',
          title1: '10分钟前',
          title2: '旅游',
          title3: '好厨艺',
          title4: '时尚达人',
          title5: '寻找有缘人',
          title6: '22',
          title7: '帅哥一号，帅哥二号',
          title8: '1楼：美女我们交往吧!!',
          title9: '2楼：美女我们交往吧!!',
          tu: require('../../../assets/6.jpg'),
          tu1: require('../../../assets/7.jpg'),
          tu2: require('../../../assets/8.jpg'),
          tu3: require('../../../assets/9.jpg'),
          tu4: require('../../../assets/4.png'),
          tu5: require('../../../assets/5.png')
        },
        {
          id: 2,
          title: '小芳',
          title1: '10分钟前',
          title2: '旅游',
          title3: '好厨艺',
          title4: '时尚达人',
          title5: '寻找有缘人',
          title6: '22',
          title7: '帅哥一号，帅哥二号',
          title8: '1楼：美女我们交往吧!!',
          title9: '2楼：美女我们交往吧!!',
          tu: require('../../../assets/6.jpg'),
          tu1: require('../../../assets/7.jpg'),
          tu2: require('../../../assets/8.jpg'),
          tu3: require('../../../assets/9.jpg'),
          tu4: require('../../../assets/4.png'),
          tu5: require('../../../assets/5.png')
        }
      ]
    }
  },
  methods: {
    returns(){
      this.$router.push('/mine')
    }
  }
}
</script>
<style>
/*标题*/
.fashion {
  text-align: center;
}
.fashion1 {
  height: 55px;
  line-height: 55px;
  display: flex;
  justify-content: flex-start;
  border-bottom: 1px solid #ccc;
}
.fashion1 a {
  flex: 1;
  text-decoration: none;
}
.fashion1 img {
  width: 20px;
  height: 20px;
  margin-top: 15px;
  margin-left: 15px;
}
.fashion1 h3 {
  font-weight: normal;
  flex: 6;
}
.fashion1 div a {
  flex: 1;
  line-height: 60px;
  color: #797979;
  font-size: 18px;
  margin-right: 20px;
}
/*内容*/
.fashion2 {
  padding: 10px 10px;
  margin: 0 auto;
}
.fashion2-div {
  width: 100%;
  text-align: left;
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
  padding-bottom: 10px;
}
.fashion2-div h3 span {
  font-weight: normal;
  float: right;
  color: #a3a2a2;
}
.fashion2-div1 {
  margin: 5px 0;
}
.fashion2-span1,
.fashion2-span2,
.fashion2-span3 {
  width: 44px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  padding: 5px;
  margin-right: 2px;
  color: #fff;
  background-color: #fceb00;
}
.fashion2-span2 {
  width: 56px;
  background-color: #00a2ff;
}
.fashion2-span3 {
  width: 70px;
  background-color: #d400ff;
}
.fashion2-div p {
  margin-bottom: 10px;
}
.fashion2-div2 {
  float: left;
  display: flex;
  margin-bottom: 10px;
}
.fashion2-div2 img {
  width: 80px;
  height: 80px;
  border-radius: 5px;
  margin-right: 10px;
}
.fashion2-div3 {
  margin: 10px 0;
  text-align: right;
}
.fashion2-div3 span {
  margin-left: 20px;
}
.fashion2-div3 span img,
.fashion2-div4 img {
  width: 20px;
  height: 20px;
  margin-right: 4px;
}
.fashion2-div4 {
  text-align: left;
}
.fashion2-div4 div {
  margin-bottom: 10px;
}
.fashion2-div4 div span {
  font-size: 18px;
}
.fashion2-div4 p {
  font-size: 16px;
  color: #353535;
  margin: 0;
  margin-top: 4px;
}
</style>
